#ifndef WORKERUNIT_H_INCLUDED
#define WORKERUNIT_H_INCLUDED
#include <iostream>
#include <SFML\System.hpp>
#include <SFML\Graphics.hpp>
#include <SFML\Window.hpp>
#include "Unit.h"

class WorkerUnit : public Unit
{
public:
	WorkerUnit();
	virtual void init(const int idTeam, const sf::Vector2f position, ImgMgr *imageManager);
	virtual void maj(Level *level);
	void setRessourceStruct(RessourceStruct *structure);
	bool collisionToRessource();
	bool collisionToStruct();

private:
	bool m_isWorking;
	bool m_haveRessource;
	Struct *m_struct;
	RessourceStruct *m_ressourceStruct;


};



#endif